package request

type TmallServicecenterWorkcardVerifycodeResendRequest struct {
	/*
	   工单id     */
	WorkcardId *int64 `json:"workcard_id,omitempty" required:"false" `
	/*
	   门店/网点id     */
	ServiceStoreId *int64 `json:"service_store_id,omitempty" required:"false" `
}

func (s *TmallServicecenterWorkcardVerifycodeResendRequest) SetWorkcardId(v int64) *TmallServicecenterWorkcardVerifycodeResendRequest {
	s.WorkcardId = &v
	return s
}
func (s *TmallServicecenterWorkcardVerifycodeResendRequest) SetServiceStoreId(v int64) *TmallServicecenterWorkcardVerifycodeResendRequest {
	s.ServiceStoreId = &v
	return s
}

func (req *TmallServicecenterWorkcardVerifycodeResendRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.WorkcardId != nil {
		paramMap["workcard_id"] = *req.WorkcardId
	}
	if req.ServiceStoreId != nil {
		paramMap["service_store_id"] = *req.ServiceStoreId
	}
	return paramMap
}

func (req *TmallServicecenterWorkcardVerifycodeResendRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
